import request from "@/api/request"

 function studentList(params){
   return request({
    url:"/admin/xy/student/list",
    method:"get",
    params
   })
}

function studentAdd(params){
    return request({
        url:"/admin/xy/student/save",
        method:"post",
        params
    })
}
function studentDel(params){
    return request({
        url:"/admin/xy/student/del",
        method:"get",
        params
    })
}
function costList(params){
    return request({
        url:"/admin/xy/cost/list",
        method:"get",
        params
    })
}
function studentUpdate(params){
    return request({
        url:"/admin/xy/student/update",
        method:"post",
        params
    })
}
function studentDetail(params){
    return request({
        url:"/admin/xy/student/detail",
        method:"get",
        params
    })
}


export {studentList,studentAdd,studentDel,costList,studentDetail,studentUpdate}